//
//  PickDateView.h
//  测试NativeUI
//
//  Created by YLW on 15/10/22.
//  Copyright © 2015年 YLW. All rights reserved.
//

#import <UIKit/UIKit.h>

typedef enum
{
    PickDateViewStyleDate,
    PickDateViewStyleTime
}PickDateViewStyle;

@interface PickDateView : UIView
@property (nonatomic , strong)UIDatePicker *datePicker;

@property (nonatomic , strong)UIView *toolBar;

@property (nonatomic , strong)UILabel *titleLabel;

@property (nonatomic , strong)UIButton *finishBtn;

@property (nonatomic , strong)UIButton *cancelBtn;

@property (nonatomic , assign)PickDateViewStyle style;
@property (nonatomic , copy)void(^disMissPickDateViewBlock)(NSInteger,NSDate *);

+ (instancetype)sharedPickDateView;
@end


